import { createRouter, createWebHistory } from 'vue-router'
import home from '../views/home/index.vue'
import a1 from '../views/home/a1.vue'
import a2 from '../views/home/a2.vue'
import a3 from '../views/home/a3.vue'
import a4 from '../views/home/a4.vue'
import ss from '../views/ss.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/home',
      component: home, children:[
            {
      path: 'a1',
      component:a1,
    },
        {
      path: 'a2',
      component: a2,
    },
        {
      path: 'a3',
      component: a3,
    },
        {
      path: 'a4',
      component: a4,
    },
      ]
    },
            {
      path: '/ss',
      component: ss,
    },
  ],
})

export default router
